package com.test.booksystem.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
// 以下两个注解，是自动生成有参构造函数和无参构造函数
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
    private List<T> list;
    private Integer total;
    private PageRequest pageRequest;
}
